package com.hzqiuxm.tdddemo001;

import com.hzqiuxm.tdddemo001.jinggame2.TicTacRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

@EnableMongoRepositories
@SpringBootApplication
public class TddDemo001Application {

    @Autowired
    private TicTacRepository ticTacRepository;

    public static void main(String[] args) {

        ConfigurableApplicationContext context = SpringApplication.run(TddDemo001Application.class, args);

  /*      TicTacRepository ticTacRepository = context.getBean(TicTacRepository.class);

        TicTacToeBean eBean = new TicTacToeBean(1, 2, 1, 'B');
        ticTacRepository.save(eBean);*/

    }

}
